﻿using dz.u9.jky.schema.Attrib;
using dz.u9.jky.schema.Common;
using System.Collections.Generic;
using System;

namespace dz.u9.jky.schema.ARBill
{
    /// <summary>
    /// 应收单
    /// </summary>
    public class DzARBillHeadDTO
    {
        public long ID { get; set; }

        /// <summary>
        /// 单据编号
        /// </summary>
        public string DocNo { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        [DzSimpleObject("UFIDA.U9.CBO.Pub.Controller.CommonArchiveDataDTO,UFIDA.U9.CBO.PubSV")]
        public string Customer { get; set; }

        /// <summary>
        /// 应收单行项目
        /// </summary>
        [DzList("UFIDA.U9.ISV.AR.ImportARBillLineDTO,UFIDA.U9.ISV.AR")]
        [DzAlias("ImportARBillLineDTOs")]
        public List<DzARBillLineDTO> ARBillLines { get; set; }

        /// <summary>
        /// 立账客户
        /// </summary>
        [DzSimpleObject("UFIDA.U9.CBO.SCM.Customer.CustomerMISCInfo,UFIDA.U9.CBO.PubBE")]
        public string AccrueCust { get; set; }

        /// <summary>
        /// 付款客户
        /// </summary>
        [DzSimpleObject("UFIDA.U9.CBO.SCM.Customer.CustomerMISCInfo,UFIDA.U9.CBO.PubBE")]
        public string PayCust { get; set; }

        /// <summary>
        /// 立账客户地址
        /// </summary>
        [DzSimpleObject("UFIDA.U9.CBO.SCM.Customer.CustomerSiteMISCInfo,UFIDA.U9.CBO.PubBE")]
        public string AccrueCustSite { get; set; }

    }
}